Einhugur Word Plugin for Objo

Einhugur.Word.Container.AppendParagraph Method

Appends paragraph at back of the container, creating one run for the image data passed in with this method. (This variation of the AppendParagraph is to embed images).

AppendParagraph(
   imageBuffer as MemoryBlock,
   mediaType as Einhugur.Word.PictureTypes,
   originalFileName as String,
   width as Integer,
   height as Integer) as Einhugur.Word.Paragraph

Parameters

imageBuffer
Byte array containing the image data in PNG or JPEG format.
mediaType
Type of the image (e.g., PNG, JPEG).
originalFileName
Original file name of the image.
width
Width of the image.
height
Height of the image.

Returns

Einhugur.Word.Paragraph
Handle to the new paragraph containing the image.

Remarks

See Also

Einhugur.Word.Container Class